{% load i18n %}

<div class="clearfix digg_bar">

	{% if topic %}
	<div class="span-1 last content" style="width:60%">
	{% endif %}

    <strong>{% trans "Pages" %}: </strong>
    {% for num in page.page_range %}
        {% if not num %} <span>...</span> {# literally output dots #}
        {% else %}
        <a href='?page={{ num }}{% if query_string %}&{{query_string}}{% endif %}'>{{ num }}</a>
        {% endif %}
    {% endfor %}
	
	{% if topic %}
	</div>
	
	<div class="span-1 last answer_bar" style="width:40%">
		
		{% if not topic.closed %}
		{% include "forum/includes/reply_panel.html" %}
		{% endif %}		
		{% if IS_FOLLOWING %}
		<a class="button" href="{{topic.link.unfollow}}"
			title='{% trans "shall you be advised on new replies?" %}'>{% trans "Leave out" %}</a>
		{% else %}
		<a class="button" href="{{topic.link.follow}}"		
			title='{% trans "shall you be advised on new replies?" %}'>{% trans "Follow" %}</a>
		{% endif %}
	</div>
	{% endif %}
</div>